/* Janus Chat - Version 1.0
 * Authors: Matthew Perry
 *          Michael Freid
 *          Marc Latou
 *          Richard Lee
 *
 * The Janus Chat Client is a highly secured
 * peer-to-peer chat client designed to facilitate
 * the transfer of sensitive data or as a communication
 * medium for the extra paranoid
 *
 * This file contains the unit tests for the exception class */

#include <iostream>
#include "../lib/exceptions.h"

int main(){
    BaseException b( "I have a new Exception" );//test the constructor
    std::cout<<"Here is the exception message: "<<b.what()<<std::endl;  //test the what() function
    MessageException me( "This is a test of message exception" );  //test the messageexception constructor
//    std::cout<<"The value of the wantErrno() function for the message exception is: "<<me.wantErrno(); //test Errno?

    return 0;
}
